package com.ship.dispatch.bpm.vo.task;

import io.swagger.models.auth.In;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.io.Serializable;

@Schema(description = "管理后台 - 通过流程任务的 Request VO")
@Data
public class BpmTaskApproveReqVO implements Serializable {

    @Schema(description = "任务编号", required = true, example = "1024")
    @NotEmpty(message = "任务编号不能为空")
    private String id;

    @Schema(description = "审批意见", required = true, example = "不错不错！")
    @NotEmpty(message = "审批意见不能为空")
    private String reason;

    @Schema(description = "状态", required = true, example = "状态 1 通过  2 驳回！")
    @NotEmpty(message = "操作状态不能为空")
    private Integer type;

}